package com.software.cool.service;

import com.software.cool.entity.TbOrg;

/**
 * Service
 */
public interface ITbOrgService {


    /**
     * 添加/修改
     * @param model
     * @return
     */
    boolean edit(TbOrg model);

    /**
     * 导入Excel
     * @param model
     * @throws Exception
     */
    void importData(TbOrg model)throws Exception;

    /**
     * 导出Excel
     * @param model
     * @throws Exception
     */
    void exportData(TbOrg model)throws Exception;

    /**
     * 根据船舶id删除部门
     * @param shipId
     * @throws Exception
     */
    void delOrgByShip(Long shipId)throws Exception;

}
